<template>
  <div class="iframe-container">
    <iframe :src="src" scrolling="auto" frameborder="0" class="frame">
    </iframe>
  </div>
</template>

<script>
export default {
  data () {
    return {
      src: 'www.baidu.com'
    }
  }
}
</script>

<style>
.iframe-container {
  width: 100%;
  height: 100%;
}

.frame {
  width: 100%;
  height: 100%;
}
</style>
